<#include "/component/pagination.html" />
<script>
	$("#checkAllHosts").checkall({itemName : "hostId"});
</script>
<table class="table table-striped table-hover">
	<thead>
		<tr>
			<th width="3%" scope="col"><input
				id="checkAllHosts" name="" type="checkbox" value="" /></th>
			<th width="22%" scope="col"><@spring.message code='host.name'/></th>
			<th width="22%" scope="col"><@spring.message code='host.ip'/></th>
			<th width="22%" scope="col"><@spring.message code='host.creator'/></th>
			<th width="33%" scope="col"><@spring.message code='host.createTime'/></th>
			<#-- <th width="9%" scope="col">Status</th> -->
		</tr>
	</thead>
	<tbody>
		<#list pager.list as item>
		<tr <#if ((item_index+1) % 2 == 0) >class="oddrow"</#if>>
			<td class="c"><input name="hostId" type="checkbox" value="${item.id}" /></td>
	        <td>${item.name!}</td>
	        <td>${item.ipAddress!}</td>
	        <td>${item.username!}</td>
	        <td>${item.createTime?datetime}</td>
	        <#-- <td>${item.status!}</td> -->
	    </tr>
		</#list>
	</tbody>
</table>
<@pagination selectSize=false/> 
